/**
 * Created by zhangqingxi on 2017-04-01.
 */

$(function () {


    $('#number').numberspinner({
        min:1,
        required:true,
        onChange: function (newValue, oldValue) {

            $('#inventory').numberspinner('setValue',parseInt($inventoryVal+newValue));
        }
    });
    initSaveClick(modelPath+'inStock.shtml');

});